package com.fs.service;

import com.fs.pojo.SysAdmin;
import com.fs.vo.PageResult;
import com.fs.vo.SysResult;

import java.awt.image.BufferedImage;

public interface SysAdminService {
    SysResult doLogin(SysAdmin admin);

    SysResult getCaption();

    SysResult unLock(Integer id);

    SysResult addAdmin(SysAdmin admin);

    SysResult pwdAdmin(SysAdmin admin);

    SysResult enableAdmin(Integer id, Boolean status);

    SysResult adminList(PageResult requestVO);

    SysResult adminMenu(Long userId);

    BufferedImage getCaptcha(String uuid);

    SysResult getById(Integer id);

    SysResult delById(Integer id);
}
